home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / ver_cont / cvs-1.8 / cvs-1 / cvs-1.8.1 / src / ChangeLog < prev    next >
Encoding:
Text File  |  1996-05-06  |  50.8 KB  |  1,374 lines

  1. Sun May  5 21:39:02 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  2.  
  3.     * vers_ts.c (Version_TS): If sdtp is NULL, go ahead and check
  4.     RCS_getexpand for options.  Fixes binaries and non-unix clients.
  5.     * sanity.sh: Fix binfiles-5.5 to test for the correct behavior
  6.     rather than the buggy behavior which existed when the binfiles-5.5
  7.     test was written.
  8.     (binfiles-14c,binfiles-14f): Likewise.
  9.  
  10. Sun May  5 17:38:21 1996  Benjamin J. Lee  <benjamin@cyclic.com>
  11.  
  12.         Integrated changes submitted by Ian Taylor <ian@cygnus.com>
  13.  
  14.         * update.c (update_dirent_proc): cvs co -p doesn't print
  15.         anything when run from an empty directory.
  16.  
  17.         * import.c (import_descend_dir): Check for a file in the
  18.         repository which will be checked out to the same name as the
  19.         directory.
  20.  
  21. Thu May  2 13:34:37 1996  Benjamin J. Lee  <benjamin@cyclic.com>
  22.  
  23.     * Version 1.7.88
  24.  
  25. Thu May  2 01:40:55 1996  Benjamin J. Lee  <benjamin@cyclic.com>
  26.  
  27.     * server.c (HAVE_INITGROUPS): Use initgroups() only if
  28.         located by configure, in the event a system has crypt(), but
  29.     no initgroups()
  30.  
  31. Wed May  1 18:05:02 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  32.  
  33.     * sanity.sh (basica): When testing rejection of reserved tag name,
  34.     use BASE instead of RESERVED.
  35.  
  36. Wed May  1 15:15:11 1996  Tom Jarmolowski  <tjj@booklink.com>
  37.  
  38.     * rcs.c (linevector_delete): Only copy up to vec->nlines - nlines,
  39.     not to vec->nlines.
  40.  
  41. Wed May  1 15:43:21 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  42.  
  43.     * rcscmds.c (RCS_settag): Instead of reserving all tag names
  44.     containing only uppercase letters, reserve only BASE and HEAD.
  45.     * sanity.sh (mflag): Revert 26 Mar change; use all-uppercase tag
  46.     name again.
  47.  
  48. Wed May  1 15:15:11 1996  Tom Jarmolowski  <tjj@booklink.com>
  49.  
  50.     * rcs.c (linevector_add): Move increment of i out of larger
  51.     statement, to avoid assumptions about evaluation order.
  52.  
  53. Tue Apr 30 15:46:03 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  54.  
  55.     * Version 1.7.87.
  56.  
  57.     * server.c (check_password): Don't use ANSI string concatenation.
  58.     Reindent function.
  59.  
  60. Wed Apr 24 17:27:53 1996  Norbert Kiesel  <nk@col.sw-ley.de>
  61.  
  62.     * vers_ts.c (Version_TS): xmalloc enough space (1 more
  63.       byte). Thanks to purify!
  64.  
  65. Fri Apr 19 11:22:35 1996  Benjamin J. Lee  <benjamin@cyclic.com>
  66.  
  67.         * Version 1.7.86
  68.  
  69. Thu Apr 18 1996  Jim Kingdon  <kingdon@cyclic.com>
  70.  
  71.     * client.c (try_read_from_server): Compare return value from fwrite
  72.     with a size_t not an int (Visual C++ lint).
  73.  
  74. Wed Apr 17 11:56:32 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  75.  
  76.     * client.c (try_read_from_server): New function.
  77.     (read_from_server): Use it.
  78.     (read_counted_file): New function.
  79.     * client.c, server.c: Add Template response.
  80.     * cvs.h (CVSADM_TEMPLATE): Added.
  81.     * logmsg.c (do_editor): If repository is NULL, use CVSADM_TEMPLATE
  82.     file in place of rcsinfo.
  83.     * server.c, server.h (server_template): New function.
  84.     * create_adm.c (Create_Admin): Call it.
  85.  
  86. Tue Apr 16 13:56:06 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  87.  
  88.     * repos.c (Name_Repository): Fix comments.
  89.     * create_adm.c (Create_Admin): Fix indentation.
  90.  
  91. Wed Apr 10 16:46:54 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  92.  
  93.     * options.h.in: Include relevant information here rather than
  94.     citing (former) FAQ.
  95.  
  96.     * ChangeLog-9395: Fix typo in introductory paragraph.
  97.  
  98. Wed Apr 10 14:55:10 1996  code by Mike Spengler  mks@msc.edu
  99.     comments by Jim Kingdon  <kingdon@harvey.cyclic.com>
  100.  
  101.     * filesubr.c (unlink_file_dir,deep_remove_dir): Don't call unlink
  102.     on something which might be a directory; check using isdir instead.
  103.  
  104. Wed Apr 10 14:55:10 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  105.  
  106.     * checkout.c (build_dirs_and_chdir): Pass path, not cp, to
  107.     Create_Admin.  The former is the correct update dir.
  108.     * sanity.sh (modules): New tests modules-155* test, for above fix.
  109.  
  110. Mon Apr  8 13:53:27 1996  Samuel Tardieu  <sam@inf.enst.fr>
  111.  
  112.     * rcs.c (annotate_fileproc): If the file is not under CVS control,
  113.     return instead of dumping a core. Don't bug on files with an empty
  114.     first revision.
  115.  
  116. Fri Mar 29 16:08:28 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  117.  
  118.     * rcs.c (annotate_fileproc): If last line of add-chunk is not
  119.     newline terminated, end the loop when we find that out.
  120.  
  121. Fri Mar 29 16:59:34 1996  Norbert Kiesel  <nk@col.sw-ley.de>
  122.  
  123.     * rcs.c (annotate_fileproc): allow last line of add-chunk not to
  124.       be newline terminated
  125.  
  126. Thu Mar 28 10:56:36 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  127.  
  128.     Add more diff tests:
  129.     * sanity.sh (basic2): Use dotest for test 61.
  130.     (basica): Add test basica-6.2.
  131.     (branches): Add tests branches-14.4 and branches-14.5.
  132.     (basic1): Remove tests 19, 20, 25, and 26.  The only thing this
  133.     might miss out on is diff's interaction with added and removed
  134.     files, but those tests didn't test that very well anyway.
  135.  
  136.     * rcs.c (RCS_getrevtime): Add comment regarding years after 1999.
  137.  
  138.     * rcs.c: Add "cvs annotate" command and related code.
  139.     (getrcskey): Move special handling of RCSDESC from here to
  140.     callers.  Handle those keys (desc, log, text) which do not
  141.     end in a semicolon.
  142.     * rcs.h (RCSVers): Add author field.
  143.     * rcs.c (RCS_reparsercsfile): Set it.
  144.     * cvs.h (annotate), main.c (cmd_usage, cmds), client.h client.c
  145.     (client_annotate), server.c (serve_annotate, requests): Usual
  146.     machinery to add a new command.
  147.     * sanity.sh (basica): Test cvs annotate.
  148.  
  149.     * sanity.sh (branches): More tests, of things like adding files on
  150.     the trunk after a branch has been made.
  151.  
  152. Tue Mar 26 09:48:49 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  153.  
  154.     * expand_path.c: Don't declare free and xmalloc; cvs.h already
  155.     takes care of that.
  156.  
  157.     * sanity.sh (mflag): Don't use tag name reserved to CVS.
  158.  
  159.     NT local changes plus miscellaneous things noticed in the process:
  160.     * import.c (add_rcs_file): Use binary mode to write RCS file.  Use
  161.     \012 where linefeed is intended.  Copy data a small block at a
  162.     time, until we hit EOF, rather than trying to read the whole file
  163.     into memory at once.
  164.     * client.c (send_modified): Add comments regarding st_size.
  165.     * commit.c (commit): Add comments regarding binary mode and read().
  166.     * logmsg.c (do_editor): Add comments regarding st_size.
  167.     * server.c (server_updated): Use binary mode to read file we are
  168.     sending.
  169.  
  170.     * rcscmds.c (RCS_settag): Complain if user tries to add a tag name
  171.     reserved to CVS.
  172.     * sanity.sh (basica): Test for this behavior.
  173.  
  174.     * sanity.sh (binfiles): New tests test ability to change keyword
  175.     expansion.
  176.  
  177. Mon Mar 25 1996  Jim Kingdon  <kingdon@cyclic.com>
  178.  
  179.     * cvs.h, filesubr.c (expand_wild): New function.
  180.     * recurse.c (start_recursion): Call expand_wild at beginning and
  181.     free its results at the end.
  182.     * cvs.h, subr.c (xrealloc): Make argument and return value void *.
  183.     * client.h, client.c (send_file_names): Add flags argument.   If
  184.     SEND_EXPAND_WILD flag is passed, call expand_wild at beginning and
  185.     free its results at the end.
  186.     * admin.c, add.c, log.c, tag.c, status.c, edit.c, watch.c,
  187.     update.c, commit.c, remove.c, client.c, diff.c: Update callers.
  188.  
  189. Fri Mar 22 10:09:55 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  190.  
  191.     * error.c (error, fperror): Exit with status EXIT_FAILURE rather
  192.     than STATUS.  We had been neglecting to check for 256, and the
  193.     value of providing a count of errors is probably minimal anyway.
  194.     * add.c, modules.c, mkmodules.c, tag.c, server.c, main.c,
  195.     import.c, client.c, scramble.c, recurse.c: Exit with status
  196.     EXIT_FAILURE rather than 1.  On VMS, 1 is success, not failure.
  197.     * main.c (main): Return EXIT_FAILURE or 0.  The value of providing
  198.     a count of errors is minimal.
  199.  
  200.     * client.c (init_sockaddr): Exit with status 1 rather than
  201.     EXIT_FAILURE.  The latter apparently doesn't exist on SunOS4.
  202.     Reindent function.
  203.  
  204. Mon Mar 18 14:28:00 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  205.  
  206.     * cvs.h, ignore.c: New variable ign_case.
  207.     * ignore.c (ign_name): If it is set, match in a case-insensitive
  208.     fashion.
  209.     * server.c (serve_case): New function.
  210.     (requests): Add Case request.
  211.     * client.c (start_server): If FILENAMES_CASE_INSENSITIVE is
  212.     defined, send Case request.
  213.  
  214. Sat Mar 16 08:20:01 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  215.  
  216.     For reference, this change takes cvs's text segment from 315392
  217.     bytes to 311296 bytes (one 4096 byte page).
  218.     * cvs.h (struct file_info): Add fullname field.
  219.     * recurse.c (do_file_proc): Set it.
  220.     * commit.c (find_fileproc), client.c (send_fileproc), commit.c
  221.     (check_fileproc), diff.c (diff_fileproc), edit.c
  222.     (unedit_fileproc), patch.c (patch_fileproc), remove.c
  223.     (remove_fileproc), rtag.c (rtag_fileproc), tag.c (tag_fileproc),
  224.     update.c (update_fileproc), watch.c (watchers_fileproc): Use it
  225.     instead of computing it each time.
  226.     * diff.c (diff_fileproc), remove.c (remove_fileproc): Use fullname
  227.     where we had been (bogusly) omitting the directory from user
  228.     messages.
  229.     * edit.c (unedit_fileproc, edit_fileproc): If we cannot close
  230.     CVSADM_NOTIFY, mention CVSADM_NOTIFY rather than finfo->file in
  231.     error message.
  232.     * rtag.c (rtag_fileproc), tag.c (tag_fileproc): Reindent.
  233.  
  234. Fri Mar 15 15:12:11 1996  Norbert Kiesel  <nk@col.sw-ley.de>
  235.  
  236.     * server.h: fix prototype of server_pause_check (was
  237.       server_check_pause)
  238.  
  239. Thu Mar 14 1996  Jim Kingdon  <kingdon@cyclic.com>
  240.  
  241.     * vers_ts.c (Version_TS), entries.c (Scratch_Entry, AddEntryNode):
  242.     Change findnode to findnode_fn.
  243.  
  244.     * main.c: Depending on HAVE_WINSOCK_H, include winsock.h or
  245.     declare gethostname.
  246.     * cvs.h: Don't declare it here.
  247.  
  248. Thu Mar 14 07:06:59 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  249.  
  250.     * commit.c (find_fileproc): If vn_user is NULL and ts_user is not,
  251.     print an error rather than silently succeeding.
  252.     * sanity.sh (basica-notadded): New test, for above fix.
  253.     (dotest_internal): New function.
  254.     (dotest,dotest_fail): Call it instead of duplicating code between
  255.     these two functions.
  256.  
  257.     * sanity.sh: Skip tests binfiles-9 through binfiles-13 for remote.
  258.  
  259.     * options.h.in: Adjust comment to reflect kfogel change.
  260.  
  261. Thu Mar 14 01:38:30 1996  Karl Fogel  <kfogel@floss.red-bean.com>
  262.  
  263.         * options.h.in (AUTH_CLIENT_SUPPORT): turn on by default.
  264.  
  265. Wed Mar 13 09:25:56 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  266.  
  267.     * vers_ts.c (Version_TS): Don't try to override options from rcs
  268.     file if there isn't an rcs file (e.g. called from send_fileproc).
  269.     This fixes a bug detected by test 59 in "make remotecheck".
  270.  
  271.     * rcs.c (RCS_reparsercsfile, RCS_getexpand): Assert that argument
  272.     is not NULL.
  273.  
  274.     Fix a gcc -Wall warning:
  275.     * rcs.c, rcs.h (RCS_getexpand): New function.
  276.     * vers_ts.c (Version_TS): Call it.
  277.     * rcs.c (RCS_reparsercsfile): Make static.
  278.  
  279.     Add a "cvs init" command.  This is needed because cvsinit.sh
  280.     invoked mkmodules which doesn't exist any more.
  281.     * mkmodules.c: Break filelist out of mkmodules function, rename
  282.     struct _checkout_file to struct admin_file (for namespace
  283.     correctness), and add contents field.
  284.     (init,mkdir_if_needed): New functions.
  285.     * cvs.h (init): Declare.
  286.     * main.c (cmds): Add init.
  287.     (main): If command is init, don't require cvsroot to exist.
  288.     * client.c, client.h (client_init, send_init_command): New functions.
  289.     * client.c (start_server): Don't send Root request if command is init.
  290.     * server.c (serve_init): New function.
  291.     (requests): Add "init".
  292.  
  293. Wed Mar 13 09:51:03 MET 1996  Norbert Kiesel  <nk@col.sw-ley.de>
  294.  
  295.     * vers_ts.c (Version_TS): set options to default option if the
  296.       file if no -k option but -A was given.  This avoids the (wrong)
  297.       update message for binary files which are up-to-date when
  298.       running 'cvs -A'.
  299.  
  300.     * update.c (checkout_file): remove test of -k option stored in the
  301.       file itself because it was moved to vers_ts.c
  302.  
  303.     * sanity.sh: added tests for the above fix.
  304.  
  305. Tue Mar 12 13:47:09 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  306.  
  307.     * hash.c (findnode): Adjust comment regarding errors.
  308.  
  309.     * hash.c (findnode, findnode_fn): Assert that key != NULL.  This
  310.     way the check still happens even if the function is later
  311.     rewritten to not start out by calling hashp.
  312.  
  313. Mon Mar 11 10:21:05 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  314.  
  315.     * sanity.sh: If expr accepts multi-line patterns but is too
  316.     liberal in matching them, print a warning but keep going.
  317.  
  318.     * sanity.sh: Add QUESTION variable, analogous to PLUS.  Use it
  319.     instead of \? to match a question mark.
  320.  
  321.     * cvs.h (CVSMODULE_OPTS, CVSMODULE_SPEC): Move from here...
  322.     * modules.c: ...to here.  They are only used here and the code to
  323.     handle the syntax of modules files should not be scattered all over.
  324.     * modules.c (CVSMODULE_OPTS): Add "+" as first character.
  325.     * sanity.sh (modules): New tests 148a0 and 148a1 test for
  326.     above-fixed bug.
  327.  
  328. Mon Mar 11 13:11:04 1996  Samuel Tardieu  <sam@inf.enst.fr>
  329.  
  330.     * modules.c (cat_module): set optind to 0 to force getopt() to
  331.     reinitialize its internal nextchar
  332.  
  333. Mon Mar 11 00:09:14 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  334.  
  335.     * hash.c (findnode, findnode_fn): Revert changes of 7-8 Mar 1996.
  336.     The correct style is to assert() that key != NULL (see HACKING),
  337.     which is already done in the hashp function.
  338.     * fileattr.c (fileattr_delproc): Likewise, assert() that
  339.     node->data != NULL rather than trying to deal with it being NULL.
  340.  
  341. Fri Mar  8 01:31:04 1996  Greg A. Woods  <woods@most.weird.com>
  342.  
  343.     * hash.c (findnode_fn): one more place to avoid calling hashp()
  344.     with a NULL key
  345.  
  346. Thu Mar  7 17:30:01 1996  Greg A. Woods  <woods@most.weird.com>
  347.  
  348.     * hash.c (findnode): also return NULL if key is not set
  349.     [[ reported by Chris_Eich@optilink.optilink.dsccc.com, and
  350.     supposedly in a PR that should be marked "fixed"..... ]]
  351.  
  352.     * fileattr.c (fileattr_set): set node->data to NULL after freeing
  353.     it to prevent subsequent accesses
  354.     (fileattr_delproc): don't free node->data if it's NULL, and set it
  355.     to NULL after freeing
  356.     [[ reported by Chris_Eich@optilink.optilink.dsccc.com, and
  357.     supposedly in a PR that should be marked "fixed"..... ]]
  358.  
  359. Fri Mar  1 14:56:08 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  360.  
  361.     * sanity.sh (basica): New test basica-4a tests for bug fixed by
  362.     sam@inf.enst.fr on 1 Mar 96.
  363.  
  364. Fri Mar  1 18:10:49 1996  Samuel Tardieu  <sam@inf.enst.fr>
  365.  
  366.     * tag.c (check_fileproc): Check for file existence before trying
  367.     to tag it.
  368.  
  369. Fri Mar  1 07:51:29 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  370.  
  371.     * client.c (update_entries): If command is export, set options to
  372.     NULL.
  373.  
  374. Thu Feb 29 16:54:14 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  375.  
  376.     * lock.c (write_lock, Reader_Lock): Remove
  377.     BOGUS_UNLESS_PROVEN_OTHERWISE code.  It was pretty bogus, and has
  378.     been ifdeffed out for a long time.
  379.     * cvs.h (CVSTFL): Removed; no longer used.
  380.  
  381.     * cvsrc.c, cvs.h (read_cvsrc): Pass in command name rather than
  382.     using global variable command_name.
  383.     * main.c (command_name): Initialize to "", not "cvs" so that error
  384.     messages don't say "cvs cvs".  Update calls to read_cvsrc to pass
  385.     in command_name or "cvs" as appropriate.
  386.     * sanity.sh (basica): New test basica-9 tests for above-fixed bug.
  387.  
  388.     * lock.c: Rename unlock to lock_simple_remove to avoid conflict
  389.     with builtin function on QNX.
  390.  
  391. Thu Feb 29 17:02:22 1996  Samuel Tardieu  <sam@inf.enst.fr>
  392.  
  393.     * fileattr.c (fileattr_get): Removed NULL pointer dereference
  394.     which occurred in the absence of default attribute.
  395.  
  396. Thu Feb 29 07:36:57 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
  397.  
  398.     * rcs.c (RCS_isbranch, RCS_whatbranch): Remove no longer used file
  399.      argument, swap order of remaining two arguments to be like other
  400.     RCS_* functions.
  401.     (RCS_nodeisbranch): swap order of arguments to be like other RCS_*
  402.     functions.
  403.     * rcs.h (RCS_isbranch, RCS_whatbranch, RCS_nodeisbranch): Update
  404.     prototypes for above changes.
  405.     * commit.c, rtag.c, status.c, tag.c: Update for above calling
  406.      convention changes.
  407.  
  408. Thu Feb 29 08:39:03 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  409.  
  410.     * client.c (start_server): Revert changes which claimed to fall
  411.     back to a different way of connecting.  Add comments explaining
  412.     why.  (I don't think the changes did what they claimed, anyway).
  413.     Use indentation rather than comments to line up #if, #else, and
  414.     #endif.
  415.  
  416.     * patch.c (patch, patch_fileproc): Revert change to add optional
  417.     arguments to -c and -u.  Optional arguments are evil and in
  418.     violation of the POSIX argument syntax guidelines.  The correct
  419.     way to do this is -C and -U.  Also change DIFF back to "diff" in
  420.     output (see comments).
  421.  
  422.     gcc -Wall lint:
  423.     * client.c (copy_a_file): Declare p inside the #ifdef in which is
  424.     it used.
  425.     * commit.c (remove_file): Remove unused variable p.
  426.     * commit.c (checkaddfile): Remove unused variables p.
  427.     * rcs.c (RCS_isbranch): Remove unused variable p.
  428.     * rcs.c: Remove unused declarations and definitions of
  429.     parse_rcs_proc, rcsnode_delproc, rcslist, and repository.
  430.     * rtag.c (rtag_fileproc): Remove unused variable p.
  431.     * patch.c (patch_fileproc): Remove unused variable p.
  432.     * tag.c (val_fileproc): Remove unused variable node.
  433.     * client.c, import.c, lock.c, server.c: Cast pid_t to long before
  434.     passing it to %ld.
  435.  
  436.     * cvs.h: Don't prototype gethostname; merely declare it (on linux,
  437.     second argument is size_t not int).
  438.  
  439. Thu Feb 29 10:29:25 MET 1996  Norbert Kiesel (nk)  <nk@col.sw-ley.de>
  440.  
  441.     * sanity.sh: added "cat > /dev/null" to loginfo entry to avoid the
  442.       SIGPIPE signal
  443.  
  444. Thu Feb 29 10:28:25 MET 1996  Norbert Kiesel (nk)  <nk@col.sw-ley.de>
  445.  
  446.     * patch.c: added new variable diff_opt
  447.     (patch): allow optional parameter to -c and -u option, send it to
  448.     server
  449.     (patch_fileproc): cleaned up the code which prints the current
  450.     filename.  For "-s" option, print the pathname relative to CVSROOT
  451.     instead of just the filename.
  452.  
  453.     * filesubr.c (xchmod): added cast to shut up gcc
  454.  
  455.     * cvs.h: added prototype for gethostname
  456.  
  457. Thu Feb 29 10:27:25 MET 1996  Norbert Kiesel (nk)  <nk@col.sw-ley.de>
  458.  
  459.     * lock.c (write_lock), (Reader_Lock), import.c (update_rcs_file),
  460.       client.c (update_entries), (send_modified), server.c (server),
  461.       (receive_file), (server_updated): use %ld for printing pid_t
  462.       variables
  463.  
  464. Thu Feb 29 02:22:12 1996  Benjamin J. Lee  <benjamin@cyclic.com>
  465.  
  466.     * run.c (run_exec): Added VMS return status support.
  467.  
  468. Thu Feb 29 01:07:43 1996  Benjamin J. Lee  <benjamin@cyclic.com>
  469.  
  470.     * client.c (send_to_server): wrtn wasn't being declared under
  471.     VMS for some reason.
  472.  
  473. Wed Feb 28 23:27:04 1996  Benjamin J. Lee  <benjamin@cyclic.com>
  474.  
  475.     * client.c: Changed #ifdef VMS && NO_SOCKET_TO_FD to
  476.     #if defined(VMS) && defined(NO_SOCKET_TO_FD)
  477.  
  478. Wed Feb 28 22:28:43 1996  Benjamin J. Lee  <benjamin@cyclic.com>
  479.  
  480.     * build_src.com: Added DCL command procedure to build
  481.     and link CVS client for VMS.
  482.  
  483. Wed Feb 28 22:07:20 1996  Benjamin J. Lee  <benjamin@cyclic.com>
  484.  
  485.     * client.c: VMS CVS client specific changes.
  486.  
  487.     Added USE_DIRECT_TCP to allow CVS_PORT to be used to specify
  488.     a TCP connection port (no Kerberos).  Changed
  489.     start_kerberos_server() to start_tcp_server().
  490.  
  491.     In copy_a_file(): transform a backup file to have a
  492.         VMS-friendly name. 
  493.  
  494.     Added HAVE_CONFIG_H to include "config.h".  
  495.  
  496.     start_server() will starts the first successful of any
  497.     mutually exclusive methods of starting the CVS server
  498.     which might be enabled.
  499.  
  500.     Initialized use_socket_style and server_sock for VMS in
  501.     start_server().
  502.  
  503. Wed Feb 28 21:49:48 1996  Benjamin J. Lee  <benjamin@cyclic.com>
  504.  
  505.     * find_names.c, recurse.c, cvs.h: Changed Find_Dirs() to
  506.     Find_Directories().
  507.     * cvs.h: Added VMS filenames enabled through USE_VMS_FILENAMES
  508.     VMS POSIX will require to use the regular CVS filenames
  509.     while VMS is #define'd.
  510.  
  511. Wed Feb 28 21:26:22 1996  Benjamin J. Lee  <benjamin@cyclic.com>
  512.  
  513.     * ignore.c: Added the patterns *.olb *.exe _$* *$ to default
  514.     ignore list for VMS.
  515.  
  516. Wed Feb 28 13:32:28 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  517.  
  518.     * logmsg.c (do_editor): Fix indentation.
  519.  
  520. Wed Feb 28 12:56:49 1996  Benjamin J. Lee  <benjamin@cyclic.com>
  521.  
  522.     * logmsg.c (do_editor): If no editor is defined, exit and print
  523.     a message.
  524.  
  525. Wed Feb 28 10:40:25 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  526.  
  527.     * vers_ts.c (time_stamp, time_stamp_server): Reindent and revise
  528.     comments.
  529.  
  530. Tue Feb 27 23:57:55 1996  Benjamin J. Lee  <benjamin@cyclic.com>
  531.  
  532.     * vers_ts.c: gmtime() returns NULL on some systems (VMS)
  533.     revert to local time via ctime() if GMT is not avaiable.
  534.  
  535. Tue Feb 27 13:07:45 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
  536.  
  537.     The changes listed below cause cvs to parse each rcs file (and
  538.      free the associated rcsnode after the file has been processed)
  539.      sequentially.  cvs used to parse all files in a directory, an
  540.     approach that does not scale to huge repositories with lots 
  541.     of revisions/branches/tags/etc.  
  542.     
  543.     * cvs.h (struct file_info): Removed srcfiles field.  Added rcs
  544.      (node) field.
  545.     * recurse.c (do_recursion): Removed code that pre-parsed all
  546.      rcs files in the directory.
  547.     (do_file_proc): Parse current rcs file.
  548.     * rcs.c (RCS_parsefiles, parse_rcs_proc, RCS_addnode): Removed.
  549.     (RCS_isbranch, RCS_whatbranch): Changed srcfiles argument to
  550.     rcs (node).
  551.     * rcs.h (RCS_parsefiles, RCS_addnode): Removed prototypes.
  552.     (RCS_isbranch, RCS_whatbranch): Updated prototypes.
  553.     * add.c, admin.c, checkin.c, checkout.c, classify.c, client.c, 
  554.     commit.c, diff.c, history.c, import.c, log.c, patch.c, remove.c, 
  555.     rtag.c, status.c, tag.c, update.c, vers_ts: Updated for above
  556.     calling convention / data structure changes.
  557.  
  558. Mon Feb 26 16:07:56 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  559.  
  560.     * Version 1.7.3.
  561.  
  562.     * Version 1.7.2.
  563.  
  564. Mon Feb 26 1996  Jim Kingdon  <kingdon@cyclic.com>
  565.  
  566.     * recurse.c (start_recursion): Use last_component rather than
  567.     checking for '/' directly.
  568.     (do_dir_proc): Likewise.
  569.  
  570.     Visual C++ lint:
  571.     * client.c (send_to_server): Change wrtn to size_t.
  572.     (connect_to_pserver): Put tofd and fromfd declarations inside
  573.     #ifndef NO_SOCKET_TO_FD.
  574.     * scramble.c (shifts): Change from array of char to array of
  575.     unsigned char.
  576.  
  577. Mon Feb 26 13:31:25 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  578.  
  579.     * server.c (check_repository_password): Remove unused variables
  580.     linelen, ch.
  581.  
  582.     * client.c (send_file_names): Translate ISDIRSEP characters to '/'.
  583.  
  584. Sat Feb 24 21:25:46 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  585.  
  586.     * checkout.c (safe_location): Re-indent one line.
  587.  
  588. Sat Feb 24 10:50:42 1996  Karl Fogel  <kfogel@floss.red-bean.com>
  589.  
  590.         * checkout.c (safe_location): put assignment to hardpath[x] in an
  591.         `else'-clause, so we don't do it when x == -1.
  592.  
  593. Sat Feb 24 01:40:28 1996  Marcus Daniels  <marcus@sayre.sysc.pdx.edu>
  594.                           via Karl Fogel  <kfogel@floss.red-bean.com>
  595.  
  596.      * server.c (check_repository_password): Return by reference an
  597.         optional username, the `host_user', from the passwd file.  The
  598.         host_user will be the user-id under which the cvs repository is
  599.         run.
  600.        (check_repository_password): Use `read_line' instead of fgets to
  601.         allow for passwords larger than 32 characters, as well as the
  602.         optional host user argument.
  603.        (check_password): Modify to use host_user.
  604.        (authenticate_connection): Modify to use host_user.
  605.  
  606. Sat Feb 24 01:05:21 1996  Karl Fogel  <kfogel@floss.red-bean.com>
  607.  
  608.         * scramble.c (descramble): just shift descrambled string to get
  609.         rid of tag char, instead of allocating a whole new copy.
  610.         (scramble): cast return value of xmalloc to avoid unsightly
  611.         compiler warnings.
  612.  
  613.         * options.h.in (RCSBIN_DFLT): don't refer to AUTH_SERVER_SUPPORT
  614.         in comment anymore, now that it's not defined in this file.
  615.  
  616. Fri Feb 23 1996  Jim Kingdon  <kingdon@cyclic.com>
  617.  
  618.     * client.c: Ifdef HAVE_WINSOCK_H, include winsock.h
  619.     instead of sys/socket.h and friends.
  620.     * login.c: Don't include sys/socket.h and friends.
  621.     * login.c (login): Only fclose fp in the case where it was
  622.     successfully fopen'd.
  623.     * login.c: Declare getpass.
  624.     * filesubr.c, cvs.h (get_homedir): New function.
  625.     * cvsrc.c, expand_path.c, history.c, login.c: Call it instead
  626.     of getenv ("HOME").
  627.  
  628. Fri Feb 23 09:23:20 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  629.  
  630.     * client.c (connect_to_pserver): Remove unused variable host.
  631.     * login.c: Include getline.h.
  632.     (login): Remove unused variables i and username.
  633.     (get_cvs_password): Move free of linebuf to where it actually will
  634.     be called.  Add a "return NULL" at the end of the function to shut
  635.     up gcc -Wall.
  636.  
  637.     * options.h.in: Remove AUTH_SERVER_SUPPORT.
  638.     * client.h (authenticate_connection): Declare.
  639.     * scramble.c (scramble): Cast char to unsigned char before using
  640.     it to look up in table (char might be signed).
  641.     * server.c [AUTH_SERVER_SUPPORT]: Include grp.h
  642.     (authenticate_connection): Remove unused variables len and
  643.     server_user.
  644.  
  645.     * sanity.sh (basica): Add comments regarding creating a top-level
  646.     directory.
  647.     (basic1): Don't try to remove first-dir and
  648.     ${CVSROOT_DIRNAME}/first-dir at start of test; tests are now
  649.     responsible for cleaning up at the end.
  650.     (PLUS,DOTSTAR,ENDANCHOR): Add comments regarding fixed GNU expr.
  651.  
  652. Thu Feb 22 22:34:11 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  653.  
  654.     * cvs.h: Remove alloca cruft.
  655.  
  656. Wed Feb 21 07:30:16 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
  657.  
  658.     * modules.c (do_module): call free_cwd before exiting.
  659.  
  660.     * recurse.c: Removed entries global variable.
  661.     (do_recursion): Declare entries.  Moved call to Entries_Close so
  662.      entries list is closed on all code paths.
  663.     (start_recursion): Removed call to Entries_Close, entries list has
  664.      been moved to do_recursion only.
  665.  
  666. Tue Feb 20 22:10:05 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  667.  
  668.     * update.c (update_dirent_proc): If dir lacks a CVS subdirectory,
  669.     don't recurse into it.
  670.     * sanity.sh (conflicts): Test for above-fixed bug.
  671.  
  672.     * update.c (merge_file): Use write_letter not printf.
  673.  
  674. Tue Feb 20 12:34:07 EST 1996: Gary Oberbrunner <garyo@avs.com>
  675.                   and Jim Kingdon <kingdon@cyclic.com>
  676.  
  677.     * history.c (history_write): Change username to char * and call
  678.     getcaller() to set it.  Setting username accidentally got deleted
  679.     8 Feb 96.
  680.     * sanity.sh: Revise test 64 to test for above-fixed bug.
  681.     * sanity.sh (PLUS): New variable, work around yet another GNU expr
  682.     bug.
  683.  
  684. Tue Feb 20 14:07:50 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  685.  
  686.     * sanity.sh: Merge test rtags into test basic2.  They never were
  687.     capable of running separately of each other.
  688.  
  689.     * sanity.sh (deep): New test, to test ability to operate in deeply
  690.     nested directories (more quickly than basic2 test did).
  691.     (basic2,rtags): Remove directories dir3 and dir4.  Remove file8,
  692.     file10, file12, file9, file11, file13, file15, file16, file17.
  693.     These additional files slowed down the tests considerably without
  694.     significantly increasing coverage.
  695.  
  696.     * sanity.sh (PROG): New variable.  Use it instead of "cvs"
  697.     to match the name cvs prints out for itself.
  698.  
  699. Mon Feb 19 09:00:29 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  700.  
  701.     This fixes a bug whereby old default attributes would get
  702.     clobbered instead of added to on "cvs watch add".
  703.     * hash.c (findnode): Don't check for key == NULL; let the
  704.     assertion in hashp take care of it.
  705.     * fileattr.h, fileattr.c (fileattr_get): If filename is NULL,
  706.     return default attributes.
  707.  
  708.     * client.c (send_repository): Fix indentation.
  709.  
  710. Mon Feb 19 01:10:01 1996  Karl Fogel  <kfogel@floss.red-bean.com>
  711.  
  712.         * login.c (login): print out full repos so user knows which server
  713.         she's logging into.
  714.  
  715.         * client.c (send_repository): die if `repos' is NULL.  This is a
  716.         lame solution; see comments in code.
  717.  
  718. Thu Feb 15 15:04:01 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  719.  
  720.     * error.c (error): Free entire and mess when done with them.
  721.  
  722.     * sanity.sh (info): Correct syntax of .cvsrc file.
  723.  
  724.     * cvs.h, expand_path.c, edit.c, parseinfo.c, wrapper.c:
  725.     expand_path now takes arguments containing file and line for error
  726.     message, and it prints the error message itself.
  727.     * sanity.sh (info-6a): Test printing of error message.
  728.  
  729.     * expand_path.c (expand_variable): Add USER internal variable.
  730.     * sanity.sh (info): Test USER and CVSROOT internal variables too.
  731.  
  732. Wed Feb 14 19:11:08 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  733.  
  734.     * main.c (usg): Add -s option.
  735.  
  736. Tue Feb 13 20:26:06 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  737.  
  738.     gcc -Wall lint:
  739.     * mkmodules.c (mkmodules_usage): Remove declaration of
  740.     non-existent function.
  741.     * cvs.h (mkmodules): Declare.
  742.  
  743. Mon Feb 12 12:20:04 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  744.  
  745.     * mkmodules.c: Rename main to mkmodules and remove various pieces
  746.     of scaffolding which it used to emulate non-existent parts of CVS.
  747.     Change calling convention to just take a char * not argc,argv.
  748.     Save and restore working directory.
  749.     * commit.c (commit_filesdoneproc): Call it if checking files into
  750.     CVSROOT.
  751.     * Makefile.in (SOURCES): Add mkmodules.c.
  752.     (OBJECTS): Add mkmodules.o.
  753.     (MSOURCES,MOBJECTS): Removed.
  754.     (COMMON_OBJECTS): Removed; move former contents into OBJECTS.
  755.     Update other rules accordingly.
  756.     * sanity.sh: Adjust to reflect nonexistence of mkmodules.
  757.  
  758.     These changes introduce functions cvs_output and cvs_outerr;
  759.     eventually all server output will go through them rather than
  760.     stdio directly.
  761.     * server.c (saved_output, saved_outerr): New variables.
  762.     (do_cvs_command): Initialize them.
  763.     (buf_output): Don't require that buf->output be set; saved_* use
  764.     this to shove some data in a buffer which buf_copy_lines will
  765.     later want to get data from.
  766.     * server.c, cvs.h (cvs_output, cvs_outerr): New functions.
  767.     * mkmodules.c (cvs_outerr): New function, so error() works.
  768.     * error.c: Reindent.  Don't declare program_name and command_name;
  769.     cvs.h declares them.
  770.     (error): Use vasprintf and cvs_outerr (or fputs in the
  771.     error_use_protocol case) rather than stdio directly.
  772.     * import.c (import_descend_dir): Remove kludge which had prevented
  773.     messages from error() from being out of order with respect to
  774.     messages from printf; cvs_output and cvs_outerr are a cleaner
  775.     solution to the problem.
  776.     (add_log, import): Use cvs_output not printf.
  777.     * update.c (write_letter): Use cvs_output not printf.
  778.     (checkout_file): Use write_letter not printf.
  779.     * sanity.sh: Use dotest for test 56 (test that output is actually
  780.     correct).  In theory should test that the import.c bug is fixed,
  781.     but I was unable to reproduce the bug (it is timing dependent).
  782.  
  783. Mon Feb 12 16:07:45 1996  Norbert Kiesel  <nk@col.sw-ley.de>
  784.  
  785.     * commit.c: define last_register_time
  786.     (commit): make sure cvs doesn't exit in the same second it wrote
  787.     the last timestamp
  788.     (commit_fileproc): set last_register_time
  789.     (finaladd): set last_register_time
  790.  
  791.     * run.c, cvs.h: Changed more Popen() to run_popen()
  792.  
  793. Mon Feb 12 03:06:50 1996  Benjamin J. Lee  <benjamin@cyclic.com>
  794.  
  795.     * release.c, rtag.c, tag.c: changed 'delete' to 'delete_flag'
  796.     to avoid symbol collision with DEC C RTL function delete()
  797.  
  798. Mon Feb 12 03:01:48 1996  Benjamin J. Lee  <benjamin@cyclic.com>
  799.  
  800.     * mkmodules.c: changed 'void Lock_Cleanup()' to 'void static
  801.     Lock_Cleanup() to avoid conflict with more substantial
  802.     Lock_Cleanup() in lock.c
  803.  
  804. Mon Feb 12 02:50:19 1996  Benjamin J. Lee  <benjamin@cyclic.com>
  805.  
  806.     * edit.c, logmsg.c, release.c, run.c: Changed Popen() to
  807.     run_popen().  VMS' linker is not case sensitive and considered
  808.     popen() and Popen() to be identical symbols.
  809.  
  810. Sun Feb 11 10:51:14 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  811.  
  812.     * main.c (main) [!CLIENT_SUPPORT]: Silently ignore gzip level
  813.     rather than printing usage message.
  814.  
  815.     * cvs.h, expand_path.c (variable_list): New variable.
  816.     (variable_set): New function.
  817.     * hash.h (enum ntype), hash.c (nodetypestring): Add VARIABLE.
  818.     * expand_path.c (expand_path, expand_variable): Reindent.
  819.     (expand_variable): Use user variables not environment variables
  820.     for ${=VAR} syntax.  The environment variables didn't work
  821.     client/server.
  822.     * main.c (main): Process new -s global option.
  823.     * client.c (send_variable_proc): New function.
  824.     (start_server): Call it, to send user variables.
  825.     * server.c (serve_set): New function.
  826.     (requests): Add Set request.
  827.     * sanity.sh: Revise info test to use user variables rather than
  828.     environment variables.
  829.  
  830. Sat Feb 10 16:55:37 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  831.  
  832.     By itself this is only a small cleanup, but in the long run it
  833.     will be way cool (for reference, it takes CVS's text segment from
  834.     290816 bytes to 294912, which I expect will be made up by future
  835.     changes which this enables):
  836.     * cvs.h (struct file_info): Added.
  837.     (FILEPROC): Replace 5 args with single struct file_info *.
  838.     * recurse.c (do_file_proc): Adjust args to fileproc; passed in
  839.     instead of from globals.
  840.     (do_recursion): Call do_file_proc accordingly.  Remove srcfiles
  841.     global variable.
  842.     * update.c (update_fileproc): Renamed from update_file_proc.
  843.     * admin.c, client.c, commit.c, diff.c, edit.c, log.c, patch.c,
  844.     remove.c, rtag.c, status.c, tag.c, update.c, watch.c: Update
  845.     fileprocs to new calling convention.
  846.  
  847. Fri Feb  9 15:30:32 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  848.  
  849.     * expand_path.c (expand_variable): Accept a variable name starting
  850.     with '=' as a way to specify an environment variable.
  851.     * sanity.sh (info): New tests, for above behavior.
  852.  
  853.     * Makefile.in (clean): Also remove check.log check.plog.
  854.  
  855.     * import.c (comtable): Remove SYSTEM_COMMENT_TABLE; the table
  856.     should *not* depend on what kind of machine the server happens to
  857.     be.  Add "mak", "rc", "dlg", "frm", and "bas" types which were
  858.     formerly included via SYSTEM_COMMENT_TABLE.
  859.  
  860.     * cvs.h, rcs.h, add.c, checkin.c, classify.c, commit.c, diff.c,
  861.     import.c, patch.c, rcs.c, update.c, vers_ts.c: Remove
  862.     DEATH_SUPPORT ifdefs.  They were introduced to facilitate merging
  863.     between Cygnus and Berliner variants of CVS, not because it was
  864.     intended to subset CVS this way.  And they clutter up the code
  865.     quite a bit.
  866.     * cvs.h, create_adm.c, main.c, update.c: Likewise, remove
  867.     CVSADM_ROOT ifdefs (it is still a #define, of course).  I believe
  868.     they had a more-or-less similar motivation.
  869.  
  870.     * sanity.sh: Move setting of HOME from ignore test to the start of
  871.     the tests so it applies to all tests.
  872.     (CVS): Remove -f; the above change takes care of it.
  873.  
  874.     * rcs.h (RCS_MERGE): Removed; unused.
  875.  
  876.     * commit.c (checkaddfile): Fix memory leak.
  877.  
  878.     * admin.c, commit.c, diff.c, log.c, mkmodules.c: Pass -x,v/ to RCS
  879.     commands.
  880.  
  881.     * rcscmds.c, cvs.h (RCS_checkin): New function.
  882.     * checkin.c, commit.c, import.c: Call it, rather than run_*.
  883.     * cvs.h, commit.c: Remove DEATH_STATE define; the behavior
  884.     which used to be the default (DEATH_STATE) is now the only one.
  885.     Failing to define DEATH_STATE has been commented as obsolete at
  886.     least since CVS 1.5.  We still can read repositories created with
  887.     such a CVS, however.
  888.     * rcs.h, rcs.c: Adjust comments regarding DEATH_STATE.
  889.     * subr.c (make_message_rcslegal): Add comment, describing
  890.     allocation of returned value.
  891.  
  892. Fri Feb  9 09:53:44 MET 1996  Norbert Kiesel  <nk@col.sw-ley.de>
  893.  
  894.     * sanity.sh: use "${testcvs}" instead of "cvs" in devcom tests
  895.  
  896.     * hash.c: fix "dereferencing a NULL pointer" bug triggered with
  897.       "cvs watch add"
  898.     (findnode): return NULL if key == NULL
  899.     (hashp): assert (key != NULL)
  900.     
  901. Fri Feb  9 00:46:47 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  902.  
  903.     * rcs.c (RCS_reparsercsfile): Remove unused variable date.
  904.  
  905.     * myndbm.c (mydbm_load_file): Fix typo ('015' -> '\015').
  906.  
  907. Thu Feb  8 13:00:00 1996  Jim Kingdon  <kingdon@peary.cyclic.com>
  908.  
  909.     * rcs.c (RCS_parse, RCS_parsercsfile, RCS_reparsercsfile),
  910.     fileattr.c (fileattr_read), myndbm.c (myndbm_open):
  911.     Use FOPEN_BINARY_READ.
  912.     * fileattr.c (fileattr_write), myndbm.c (myndbm_close):
  913.     Use FOPEN_BINARY_WRITE.
  914.     * history.c (history_write, read_hrecs): Specify OPEN_BINARY.
  915.     * rcs.c: Remove calls to abort.
  916.     * myndbm.c (myndbm_load_file): Ignore CRs from ends of lines
  917.     if present.
  918.     * myndbm.c, fileattr.c: While I am at it, change \n to \012
  919.     a few places where LF is intended.
  920.     * history.c (history_write): Use getenv ("HOME"), not getpwnam,
  921.     to find home directory.  If it isn't set, just keep going; don't
  922.     print a message.
  923.     * rcscmds.c, cvs.h (RCS_checkout): New function.
  924.     * update.c, checkin.c, commit.c, diff.c, import.c, no_diff.c, 
  925.     patch.c: Call it instead of run_*.
  926.     * patch.c (patch_fileproc): Clean up inconsistent handling of
  927.     noexec flag.
  928.     * rcscmds.c (RCS_*): Pass -x,v/ to RCS commands; elsewhere in
  929.     CVS it is assumed that ,v is a suffix.
  930.  
  931. Fri Feb  2 14:07:32 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
  932.  
  933.     * rcs.h (struct rcsnode): Remove dates field (list of rcsversnodes
  934.      indexed by date).  CVS maintained this list for each RCS file even
  935.     though it was never used.  This resulted in higher then necessary 
  936.     memory requirements (and run time too).  Even if revision info was
  937.     needed, CVS' List data structure is inappropriate because can't
  938.     handle duplicate keys.  The above was discovered by tracking down
  939.     a memory leak.
  940.     * rcs.c (RCS_reparsercsfile): Don't build dates list.
  941.     (freercsnode): Don't delete dates list.
  942.     (rcsvers_delproc): Free date field.
  943.     (null_delproc): Removed.
  944.     
  945. Thu Feb  1 12:28:33 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  946.  
  947.     * remove.c (cvsremove): Don't tell user the name of the program
  948.     which they use to remove files; we don't have any way of knowing
  949.     that, and besides which they might use a GUI or emacs 'dired' anyway.
  950.     * update.c (update_filesdone_proc, update_dirleave_proc): Call
  951.     unlink_file_dir instead of rm -rf.
  952.     * options.h.in: Remove RM; no longer used.
  953.  
  954.     * sanity.sh: New tests devcom-a* test "cvs watch add",
  955.     "cvs watch remove", and "cvs watchers".
  956.  
  957.     * sanity.sh: New test 171a0 tests for watch.c bug just fixed by kfogel.
  958.  
  959.     * Most .c files: Remove rcsids.
  960.     * cvs.h: Remove USE macro.
  961.  
  962. Thu Feb  1 13:07:15 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
  963.  
  964.     * tag.c, rtag.c: Update various comments to reflect function name
  965.      changes.
  966.  
  967. Thu Feb  1 14:14:31 1996  Karl Fogel  <kfogel@floss.red-bean.com>
  968.  
  969.         * recurse.c (do_recursion): comment #endif.
  970.  
  971.         * edit.c (notify_check): surround with #ifdef CLIENT_SUPPORT; else
  972.         CVS won't compile if CLIENT_SUPPORT is undefined.
  973.         
  974.         * edit.h (notify_check): surround declaration with #ifdef
  975.         CLIENT_SUPPORT.
  976.  
  977.         * watch.c (watch): if argc <= 1, then just give usage (previously
  978.         was "argc == -1").
  979.  
  980. Thu Feb  1 12:28:33 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  981.  
  982.     * README-rm-add: Remove information which is now in cvs.texinfo.
  983.  
  984.     * sanity.sh: Remove basic0 tests.  Move a few to new tests
  985.     basica-1a* (but there is no need to test that *every* command
  986.     gracefully does nothing on an empty directory; exhaustive testing
  987.     is impractical and the generic recursion processor handles this
  988.     anyway).
  989.  
  990.     * sanity.sh: New tests 69a* test use of update -p to restore old
  991.     version of dead file.
  992.  
  993. Wed Jan 31 18:32:34 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  994.  
  995.     * ChangeLog-9395: Remove duplicate entries from 1996 which
  996.     accidentally got into this file.
  997.  
  998.     * client.c (read_line, read_from_server): Change "premature end of
  999.     file from server" message to "end of file from server (consult
  1000.     above messages if any)" because 99% of the time it means rsh has
  1001.     printed an error message and exited.
  1002.  
  1003. Wed Jan 31 15:09:51 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
  1004.  
  1005.     * edit.c (ncheck_fileproc): Fix memory leak; free line before
  1006.     returning.
  1007.  
  1008. Tue Jan 30 18:06:12 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  1009.  
  1010.     * recurse.c (do_recursion): Add comment about the fact that we
  1011.     don't have locks in place at certain points.
  1012.  
  1013. Tue Jan 30 09:43:34 1996  Vince Demarco  <vdemarco@bou.shl.com>
  1014.  
  1015.     * edit.c (notify_proc): have notify_proc call expand_path with
  1016.     the name of the filter program. The user may have used a
  1017.     cvs environmental variable. (Popen will expand it, but it may not
  1018.     use the correct value)
  1019.  
  1020. Tue Jan 30 09:43:34 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  1021.  
  1022.     * ChangeLog: take the pre-1996 changes and put them in a new file
  1023.     ChangeLog-9395.
  1024.     * ChangeLog-9194: Renamed from ChangeLog.fsf.
  1025.     * ChangeLog-9194, ChangeLog-9395, ChangeLog: Add additional text
  1026.     explaining the difference between all these logs and pointing to
  1027.     older logs.
  1028.     * Makefile.in (DISTFILES): Add ChangeLog-9194 and ChangeLog-9395;
  1029.     remove ChangeLog.fsf.
  1030.  
  1031.     * modules.c (do_module): Don't fall through from 'l' to 'o' case
  1032.     of option processing switch statement.
  1033.  
  1034. Tue Jan 30 06:50:19 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
  1035.  
  1036.     * client.c (send_repository): Fix memory leak; free adm_name
  1037.      before returning.
  1038.     * diff.c (diff_file_nodiff): Fix memory leak; free xvers before
  1039.      returning.
  1040.     * rtag.c (rtag_fileproc): Fix memory leak; if branch_mode is set,
  1041.      free rev before returning.
  1042.     * status.c (status_fileproc, tag_list_proc): Fix memory leak; free
  1043.      return value of RCS_whatbranch.
  1044.     * tag.c (tag_fileproc): Fix memory leak; free vers before
  1045.      returning.
  1046.     (val_fileproc): Fix memory leak; free return value of RCS_gettag.
  1047.     * watch.c (watch_modify_watchers): Fix memory leak; free mynewattr
  1048.     before returning.
  1049.  
  1050. Tue Jan 30 09:43:34 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  1051.  
  1052.     * lock.c (readers_exist): If stat gave an error, print an error
  1053.     message saying it was from stat, rather than from "reading
  1054.     directory".  Skip the message completely if it was an
  1055.     existence_error.
  1056.  
  1057.     * sanity.sh (branches): New tests (branches off of branches, etc.).
  1058.  
  1059. Tue Jan 30 11:55:34 MET 1996  Norbert Kiesel  <nk@col.sw-ley.de>
  1060.  
  1061.     * main.c (main): Add change to run getopt_long twice again.
  1062.  
  1063. Mon Jan 29 15:59:31 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  1064.  
  1065.     gcc -Wall lint:
  1066.     * client.c: Include edit.h
  1067.  
  1068. Sun Jan 28 09:45:53 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  1069.  
  1070.     * edit.c, edit.h (mark_up_to_date): New function, to remove file
  1071.     in CVS/Base.
  1072.     * client.c (update_entries): Call it if file is up to date.
  1073.     * checkin.c (Checkin): Call it in non-server (local) case.
  1074.     * sanity.sh: New test 182.5, tests for above-fixed bug.
  1075.  
  1076. Sun Jan 28 01:07:22 1996  Jim Kingdon  (kingdon@beezley)
  1077.  
  1078.     * client.c (change_mode): Separate out CHMOD_BROKEN code to parse
  1079.     mode_string, rather than going through a mode_t.  Cleaner than
  1080.     the previous CHMOD_BROKEN code (which also had a typo of && not &).
  1081.  
  1082. Sat Jan 27 23:29:46 1996  Jim Kingdon  (kingdon@beezley)
  1083.  
  1084.     * edit.c (edit_fileproc): Check for EACCESS as well as EEXIST.
  1085.  
  1086. Sat Jan 27 16:26:30 1996  Karl Fogel  (kfogel@floss.cyclic.com)
  1087.  
  1088.         * client.c (notified_a_file): use rename_file() instead of
  1089.         rename() (but temporarily set `noexec' to 0 so it runs
  1090.         unconditionally).
  1091.         (change_mode): deal with CHMOD_BROKEN.        
  1092.  
  1093. Fri Jan 26 00:14:00 1996  Karl Fogel  <kfogel@floss.red-bean.com>
  1094.  
  1095.         * server.c: renamed `dirname' to `dir_name', to avoid conflicts
  1096.         with system headers.
  1097.  
  1098.         * client.c: renamed `dirname' and `last_dirname' to `dir_name' and
  1099.         last_dir_name' (see above).  Not strictly necessary, but
  1100.         consistency is nice -- as long as you do it all the time.
  1101.  
  1102. Thu Jan 25 00:41:59 1996  Karl Fogel  <kfogel@floss.red-bean.com>
  1103.  
  1104.         * options.h.in (AUTH_SERVER_SUPPORT, AUTH_CLIENT_SUPPORT): change
  1105.         comment now that no longer under construction.
  1106.  
  1107. Wed Jan 24 15:25:22 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  1108.  
  1109.     * Version 1.7.1.
  1110.  
  1111.     * Version 1.7.
  1112.  
  1113. Sat Jan 20 00:05:08 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  1114.  
  1115.     * Version 1.6.87.
  1116.  
  1117. Mon Jan 15 18:14:55 1996  Gary Oberbrunner  <garyo@avs.com>
  1118.               and Jim Kingdon  <kingdon@harvey.cyclic.com>
  1119.  
  1120.     * tag.c (val_direntproc):  New function to ignore
  1121.       nonexistent dirs when recursing to check tag validity.
  1122.       (tag_check_valid): Pass it to start_recursion.
  1123.     * sanity.sh (death): New tests 65a0-65a6 cause test 74 to test for
  1124.     above-fixed bug.
  1125.  
  1126. Mon Jan 15 12:55:37 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  1127.  
  1128.     * main.c: Revert change to run getopt_long twice.  This can go in
  1129.     after 1.7.
  1130.  
  1131. Mon Jan 15 13:03:28 1996  Norbert Kiesel  <nk@col.sw-ley.de>
  1132.  
  1133.     * filesubr.c (deep_remove_dir): added test of EEXIST for nonempty
  1134.       directory (Posix states that both ENOTEMPTY (BSD) and EEXIST
  1135.       (SYSV) are valid)
  1136.  
  1137.     * main.c (main): run getopt_long twice to allow command-line
  1138.       suppression of reading the cvsrc file
  1139.  
  1140. Fri Jan 12 10:02:43 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  1141.  
  1142.     * Version 1.6.86.
  1143.  
  1144. Thu Jan 11 23:28:05 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
  1145.               and Jim Kingdon  <kingdon@harvey.cyclic.com>
  1146.  
  1147.     * fileattr.h (fileattr_startdir): Add comment about REPOS == NULL.
  1148.     * fileattr.c (fileattr_read, fileattr_write): Assert that
  1149.     fileattr_stored_repos != NULL.
  1150.     (fileattr_free): If fileattr_stored_repos is NULL, don't free it.
  1151.  
  1152. Thu Jan 11 18:03:21 1996  Karl Fogel  <kfogel@floss.red-bean.com>
  1153.  
  1154.         * scramble.c (descramble): deal with DIAGNOSTIC better.
  1155.  
  1156. Thu Jan 11 12:04:42 1996  Norbert Kiesel  <nk@col.sw-ley.de>
  1157.  
  1158.     * main.c: remove CVS_NOADMIN.
  1159.  
  1160.     * options.h.in: remove CVS_NOADMIN
  1161.  
  1162. Thu Jan 11 10:28:44 1996  Karl Fogel  <kfogel@floss.red-bean.com>
  1163.  
  1164.         * scramble.c (descramble): make sure the string returned is safe
  1165.         to free().
  1166.  
  1167. Wed Jan 10 01:11:23 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  1168.  
  1169.     * server.c (serve_notify): Cast return value from malloc.
  1170.  
  1171.     * edit.c (notify_do): Use struct assignment, not struct
  1172.     initialization (which SunOS4 /bin/cc doesn't have).
  1173.  
  1174. Tue Jan  9 09:41:29 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  1175.  
  1176.     * Version 1.6.85.
  1177.  
  1178.     We use version numbers instead of patchlevels.  But there was some
  1179.     confusing patchlevel stuff lying around.  Nuke it:
  1180.     * Makefile.in (HEADERS): Remove patchlevel.h
  1181.     * patchlevel.h: Removed.
  1182.     * main.c: Don't include patchlevel.h.
  1183.     (main): Don't print patch level.
  1184.  
  1185.     * server.c (check_repository_password): Check for errors from
  1186.     system calls; reindent function.
  1187.  
  1188. Tue Jan  9 23:15:30 1996  Karl Fogel  <kfogel@floss.red-bean.com>
  1189.  
  1190.         * expand_path.c: fix comments (explain expand_path()'s behavior
  1191.         correctly).
  1192.  
  1193. Tue Jan  9 09:41:29 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  1194.  
  1195.     * edit.c (notify_proc): After copying in string following %s,
  1196.     don't clobber it.  Instead set up q to end of string.
  1197.  
  1198.     * watch.c (watch_modify_watchers), edit.c (editor_set): Fix sense
  1199.     of test in trying to decide whether attributes are changed.
  1200.  
  1201.     * cvs.h (CVSROOTADM_USERS): New macro.
  1202.     * edit.c (notify_do): Look up notifyee in CVSROOTADM_USERS if it
  1203.     exists.
  1204.  
  1205. Tue Jan  9 21:39:45 1996  Karl Fogel  <kfogel@floss.red-bean.com>
  1206.  
  1207.         * expand_path.c: don't redundantly #include things that cvs.h
  1208.         already #includes (i.e., stdio.h, ctype.h, string[s].h).
  1209.  
  1210. Tue Jan  9 09:41:29 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  1211.  
  1212.     * ignore.c (ign_default): Add *.obj.
  1213.  
  1214.     * server.c: Put /* */ around #endif comment.
  1215.  
  1216. Mon Jan  8 20:37:17 1996  Karl Fogel  <kfogel@floss.red-bean.com>
  1217.  
  1218.         * client.c (connect_to_pserver): check return value of recv().
  1219.  
  1220. Mon Jan  8 11:37:57 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  1221.  
  1222.     * client.c (connect_to_pserver): Check for error from connect;
  1223.     reindent function.
  1224.  
  1225.     * sanity.sh (4.75): Use dotest, so we get a PASS if test passes.
  1226.  
  1227.     * sanity.sh (dotest): New argument OUTPUT2.
  1228.     (188a): Use it instead of \|.
  1229.  
  1230.     * sanity.sh (import): Avoid using string $ followed by Id followed
  1231.     by $ in sanity.sh source, in case sanity.sh itself is under CVS.
  1232.     I hate keyword expansion.
  1233.  
  1234.     * sanity.sh: If expr cannot handle multiline expressions, fail and
  1235.     tell the user to get one which can.
  1236.  
  1237.     * release.c (release_delete): Remove unused variable retcode.
  1238.  
  1239. Fri Jan  5 13:30:00 1996  Jim Kingdon   <kingdon@peary.cyclic.com>
  1240.  
  1241.     * release.c (release_delete): Call unlink_file_dir rather 
  1242.     than "rm -rf".
  1243.  
  1244. Thu Jan  4 09:58:30 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  1245.  
  1246.     * commit.c (find_fileproc): Print "nothing known about foo" and
  1247.     return 1 if the file doesn't exist and isn't in CVS/Entries.
  1248.     (commit): If the recursion over find_fileproc returns an error,
  1249.     print "correct above errors first!" just like local CVS.
  1250.     * sanity.sh (basica): Test for above-fixed bug.
  1251.  
  1252.     * release.c (release): If we are the client, only unedit if the
  1253.     server supports it.
  1254.  
  1255.     * sanity.sh: Remove STARTANCHOR stuff; expr patterns are
  1256.     automatically anchored to the start.  ENDANCHOR remains.
  1257.  
  1258.     * commit.c (commit): Don't start the server until we have
  1259.     determined that there is something to commit.
  1260.  
  1261. Thu Jan  4 09:48:33 1996  Ben Laurie  <ben@gonzo.ben.algroup.co.uk>
  1262.               and Jim Kingdon  <kingdon@harvey.cyclic.com>
  1263.  
  1264.     * client.c (start_server): dup the file descriptor before
  1265.     fdopening it.
  1266.  
  1267. Wed Jan  3 18:25:25 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  1268.  
  1269.     * sanity.sh: Remove tests 5, 5.5, and 5.75.  All that stuff is
  1270.     tested elsewhere.
  1271.  
  1272.     * ignore.c (ign_default): Change CVS* to CVS CVS.adm.  CVS* is too
  1273.     broad, especially in a case-insensitive filesystem.
  1274.  
  1275.     * Makefile.in (cvsbug): version.c is in srcdir.
  1276.  
  1277. Wed Jan  3 17:30:45 1996  Phi-Long Tran  <ptran@autodesk.com>
  1278.  
  1279.     * modules.c (do_module): Honor error_use_protocol in printing trace.
  1280.     * server.c (server_register): Move check for options NULL to above
  1281.     printing of the trace.
  1282.  
  1283. Wed Jan  3 01:19:53 1996  Mark Immel <immel@centerline.com>
  1284.               and Jim Kingdon  <kingdon@harvey.cyclic.com>
  1285.  
  1286.     * update.c (checkout_file): Do not resurrect file on join if it
  1287.     doesn't contain the revisions we are joining.  Probably not a
  1288.     perfect test, but should be an improvement.
  1289.     * sanity.sh (death): New death-file4-* tests, for bug fixed above.
  1290.  
  1291. Wed Jan  3 01:19:53 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  1292.  
  1293.     * add.c, admin.c, checkout.c, client.c, commit.c, diff.c, edit.c,
  1294.     history.c, import.c, log.c, patch.c, release.c, remove.c, rtag.c,
  1295.     status.c, tag.c, update.c, watch.c: In calling send_to_server,
  1296.     pass \012 not \n.  On the Mac \n is CR, not LF, and we want to
  1297.     send LF.  I didn't try to deal with whether files in CVSADM should
  1298.     contain CR or LF--in fact there is some code in client.c which
  1299.     reads \n from CVSADM files and passes it to send_to_server; it
  1300.     needs to be cleaned up one way or the other.
  1301.  
  1302.     * entries.c (Entries_Open): Don't try to close fpin twice.
  1303.  
  1304.     * client.c (update_entries): Fix typo ("strlen (filename + 10)"
  1305.     -> "strlen (filename) + 10").
  1306.  
  1307.     * commit.c (checkaddfile): Remove arbitrary limit.
  1308.  
  1309. Tue Jan  2 11:25:22 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  1310.  
  1311.     * commit.c (commit): Only pass files which were modified, added,
  1312.     or removed to send_file_names.  This has as a side effect a
  1313.     semantic change--the up-to-date check is now skipped for other
  1314.     files--but probably a good one, or at least not a bad one.
  1315.     * sanity.sh (basica): New test; tests for bug fixed above.
  1316.     * sanity.sh (187a3): Adjust for new 'cvs commit' output.  Set up
  1317.     DOTSTAR to match arbitrary text (another GNU expr bug/misfeature,
  1318.     sigh).
  1319.  
  1320.     * sanity.sh: Test that the commit in test 43 actually worked.
  1321.     Merge tests basic2 and basic3 and make them independent of basic1.
  1322.     (pass,fail): Don't insert spurious space.
  1323.     (45.5): Fix typo in directory name.
  1324.  
  1325. Tue Jan  2 13:00:00 1996  Jim Kingdon  <kingdon@peary.cyclic.com>
  1326.  
  1327.     Visual C++ lint:
  1328.     * myndbm.c: Prototype write_item.
  1329.  
  1330. Tue Jan  2 11:25:22 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  1331.  
  1332.     gcc -Wall lint:
  1333.     * client.c (client_expand_modules): Pass error message not "" to error.
  1334.     * client.c (supported_request), server.c (supported_response):
  1335.     Return a value (gcc -Wall can't know that error doesn't return).
  1336.     * commit.c (copy_ulist): Return a value.
  1337.     * history.c (fill_hrec): Don't make assumptions about whether
  1338.     time_t is "int" or "long" or what.
  1339.     * cvs.h: Declare link_file.
  1340.     * server.c: Include fileattr.h.
  1341.     * server.c (server_notify): Remove unused variable val.
  1342.     * tag.c (val_fileproc): Remove unused variable foundtag.
  1343.  
  1344. Mon Jan  1 09:49:16 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
  1345.  
  1346.     * Version 1.6.5.
  1347.  
  1348.     * Version 1.6.4.
  1349.  
  1350.     * filesubr.c (link_file): Add comment about link vs. copy semantics.
  1351.  
  1352.     * cvs.h (struct vers_ts): Fix comments.
  1353.     * commit.c (commit): Before we ask for a log message, figure out
  1354.     what is modified and what is not and pass the information to
  1355.     do_editor.
  1356.     (copy_ulist,find_fileproc): New helper functions for above code.
  1357.  
  1358.     * client.c (read_line): When writing to from_server_logfile, write
  1359.     the \n too.
  1360.  
  1361.     * client.c (send_files): No longer call send_file_names.
  1362.     * client.h: Update comment.
  1363.     * add.c, admin.c, commit.c, diff.c, edit.c, log.c, remove.c,
  1364.     status.c, tag.c, update.c, watch.c: Call send_file_names before
  1365.     send_files.
  1366.     * client.c: New variables module_argc, module_argv.
  1367.     (client_expand_modules): Set them, to arguments.
  1368.     (client_send_expansions): Use them instead of modules_vector to
  1369.     send arguments.
  1370.     * sanity.sh (modules): Add test of modules -d flag.
  1371.  
  1372.  
  1373. For older changes see ChangeLog-9395.
  1374.